<script setup lang="ts">

import {ref} from "vue";

const onClickLeft = () => history.back();
const message = ref('');
</script>

<template>
<div>
    <van-nav-bar
            left-text="返回"
            left-arrow
            @click-left="onClickLeft"
    />
    <div class="Content">
        <van-cell-group inset>
            <van-field
                    v-model="message"
                    autosize
                    type="textarea"
                    placeholder="请输入留言"
                    show-word-limit
            />
        </van-cell-group>
    </div>
</div>
</template>

<style scoped lang="less">
.Content{
  width: 96%;
  margin: 20px auto;
  height: 400px;
  padding: 10px;
  box-sizing: border-box;
  background-color: white;
}
</style>